package cn.chiship.framework.upms.biz.user.pojo.dto;

import cn.chiship.framework.common.constants.TipConstants;
import cn.chiship.sdk.core.base.constants.BaseTipConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author lijian
 */
@ApiModel(value = "单位机构表单")
public class UpmsUnitDto {

    @ApiModelProperty(value = "统一社会信用代码")
    @NotNull(message = "统一社会信用代码" + TipConstants.NOT_EMPTY)
    @Length(min = 18, max = 18, message = TipConstants.LENGTH_MIN_MAX)
    private String socialCreditCode;

    @ApiModelProperty(value = "单位编号")
    @NotNull
    @Length(min = 1)
    private String organizationCode;

    @ApiModelProperty(value = "所属上级")
    @NotNull
    @Length(min = 1)
    private String pid;

    @ApiModelProperty(value = "单位全称")
    @NotNull
    @Length(min = 1)
    private String organizationName;

    @ApiModelProperty(value = "单位描述")
    private String description;

    @ApiModelProperty(value = "所属地区")
    @NotNull
    @Length(min = 1)
    private String regionDetails;

    @ApiModelProperty(value = "单位Logo")
    @NotNull
    @Length(min = 1)
    private String logo;

    @ApiModelProperty(value = "单位类型")
    @NotNull
    private String organizationCategory;

    @ApiModelProperty(value = "单位级别")
    @NotNull
    private String organizationLevel;

    @ApiModelProperty(value = "单位电话")
    private String phone;

    @ApiModelProperty(value = "单位传真")
    private String fax;

    @ApiModelProperty(value = "负责人信息")
    private String chargeInfo;

    @ApiModelProperty(value = "详细地区")
    private String address;


    @ApiModelProperty(value = "经纬度")
    private String latlng;

    @ApiModelProperty(value = "联系人")
    private String linkPerson;

    @ApiModelProperty(value = "联系电话")
    private String linkMobile;

    @ApiModelProperty(value = "工作时间")
    private String workTime;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;


    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRegionDetails() {
        return regionDetails;
    }

    public void setRegionDetails(String regionDetails) {
        this.regionDetails = regionDetails;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getOrganizationCategory() {
        return organizationCategory;
    }

    public void setOrganizationCategory(String organizationCategory) {
        this.organizationCategory = organizationCategory;
    }

    public String getOrganizationLevel() {
        return organizationLevel;
    }

    public void setOrganizationLevel(String organizationLevel) {
        this.organizationLevel = organizationLevel;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getChargeInfo() {
        return chargeInfo;
    }

    public void setChargeInfo(String chargeInfo) {
        this.chargeInfo = chargeInfo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLatlng() {
        return latlng;
    }

    public void setLatlng(String latlng) {
        this.latlng = latlng;
    }

    public String getLinkPerson() {
        return linkPerson;
    }

    public void setLinkPerson(String linkPerson) {
        this.linkPerson = linkPerson;
    }

    public String getLinkMobile() {
        return linkMobile;
    }

    public void setLinkMobile(String linkMobile) {
        this.linkMobile = linkMobile;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }
}
